package com.simple.gateway.common.interfaces;

import com.simple.gateway.common.annotation.SimpleGatewaySpi;

/**
 * 项目: simple-gateway
 * <p>
 * 功能描述: 授权接口
 *
 * @author: WuChengXing
 * @create: 2023-08-05 23:09
 **/
@SimpleGatewaySpi
public interface GatewayAuth {

    /**
     * 校验接口
     *
     * @param authExtension
     * @return
     */
    boolean validate(String authExtension);
}
